package com.cloud.game.room;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

@SpringBootApplication
@EnableEurekaClient
public class RoomApplication {

    public static void main(String[] args) {
        SpringApplication.run(RoomApplication.class, args);
    }

//    @Bean
//    public CommandLineRunner initData(MongoOperations mongo) {
//        return (String... args) -> {
//            mongo.dropCollection(MyEvent.class);
//            mongo.createCollection(MyEvent.class, CollectionOptions.empty().maxDocuments(200).size(100000).capped());
//        };
//    }
}